package pojo;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotNull;

/**
 * @author jesse
 * @Date 2019/5/23 15:25
 * @Version 1.0
 */
@Data
@NoArgsConstructor
public class ClazzM {

    private String id;

    private Integer grade;
    private Integer clazz;
    private Integer classroom;
    private Integer year;
    @NotNull(message = "专业不能为空")
    private String profession;
    @NotNull(message = "班主任不能为空")
    private String master;
    @NotNull(message = "评论不能为空")
    private String remark;
}
